/**
 * MIT License
 *
 * Copyright (c) 2024 小村程序员
 * Email: 397237738@qq.com
 * Permission is hereby granted, free of charge, to any person obtaining a copy
 * of this software and associated documentation files (the "Software"), to deal
 * in the Software without restriction, including without limitation the rights
 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 * copies of the Software, and to permit persons to whom the Software is
 * furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
package org.open.cobertura.model;


public class LineCoverage {
    private String packageName;
    private String className;

    private int line;
    private int offset;

    private int instruTotalCount;

    private int instruCoveredCount;
    private int instruMissedCount;
    private double instruCoveredRatio;
    private double instruMissedRatio;

    private int branchesTotalCount;
    private int branchesCoveredCount;
    private int branchesMissedCount;
    private double branchesCoveredRatio;
    private double branchesMissedRatio;

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public int getInstruTotalCount() {
        return instruTotalCount;
    }

    public void setInstruTotalCount(int instruTotalCount) {
        this.instruTotalCount = instruTotalCount;
    }

    public int getInstruCoveredCount() {
        return instruCoveredCount;
    }

    public void setInstruCoveredCount(int instruCoveredCount) {
        this.instruCoveredCount = instruCoveredCount;
    }

    public int getInstruMissedCount() {
        return instruMissedCount;
    }

    public void setInstruMissedCount(int instruMissedCount) {
        this.instruMissedCount = instruMissedCount;
    }

    public double getInstruCoveredRatio() {
        return instruCoveredRatio;
    }

    public void setInstruCoveredRatio(double instruCoveredRatio) {
        this.instruCoveredRatio = instruCoveredRatio;
    }

    public double getInstruMissedRatio() {
        return instruMissedRatio;
    }

    public void setInstruMissedRatio(double instruMissedRatio) {
        this.instruMissedRatio = instruMissedRatio;
    }

    public int getBranchesTotalCount() {
        return branchesTotalCount;
    }

    public void setBranchesTotalCount(int branchesTotalCount) {
        this.branchesTotalCount = branchesTotalCount;
    }

    public int getBranchesCoveredCount() {
        return branchesCoveredCount;
    }

    public void setBranchesCoveredCount(int branchesCoveredCount) {
        this.branchesCoveredCount = branchesCoveredCount;
    }

    public int getBranchesMissedCount() {
        return branchesMissedCount;
    }

    public void setBranchesMissedCount(int branchesMissedCount) {
        this.branchesMissedCount = branchesMissedCount;
    }

    public double getBranchesCoveredRatio() {
        return branchesCoveredRatio;
    }

    public void setBranchesCoveredRatio(double branchesCoveredRatio) {
        this.branchesCoveredRatio = branchesCoveredRatio;
    }

    public double getBranchesMissedRatio() {
        return branchesMissedRatio;
    }

    public void setBranchesMissedRatio(double branchesMissedRatio) {
        this.branchesMissedRatio = branchesMissedRatio;
    }

    public int getLine() {
        return line;
    }

    public void setLine(int line) {
        this.line = line;
    }

    public int getOffset() {
        return offset;
    }

    public void setOffset(int offset) {
        this.offset = offset;
    }
}
